package com.dubbo.CarBalance.mapper;

import com.dubbo.model.balance.dtos.AccountCarerDto;
import com.dubbo.model.balance.pojos.AccountCarer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AccountCarerMapper {

    List<AccountCarer> AllCarerList();

    List<AccountCarer> findCarerList(AccountCarerDto dto);

    @Select("select * from account_carer where account_id = #{id}")
    AccountCarer findById(@Param("id") String id);
}
